<?php

class Karyawan {
    public $id;
    public $nama;
    public $alamat;
    public $telp;
    public $email;
    
    public function __construct($id,$nama,$alamat,$telp,$email) {
        $this->id = $id;
        $this->nama = $nama;
        $this->alamat = $alamat;
        $this->telp = $telp;
        $this->email = $email;
    }
}

?>